<html>
    <head>
        <title>douban library</title>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
        <meta http-equiv="Pragma" content="no-cache" /> 
        <meta content="通过douban api检索图书馆图书" name="description"/> 
        <meta name="keywords" content="douban, library, doubanlib, GAE, google app engine, Python" /> 
    </head>
    <body>
        <table>
            % for row in  tables:
            <tr>
                % for cell in row:
                    ${cell}
                % endfor 
            </tr>
            % endfor
        </table>
<div style="display: inline; padding-left: 5px;"><a href="?username=${user}&page=${page+1}">Next Page</a></div>

    <script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-4981483-14']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
    </body>
</html>
